export interface IResponseData {
  code: number
  message: string
  ok: boolean
}
export interface IItemCateGory {
  id: number
  name: string
  createTime: string
  updateTime: string
  level?: number
}

export interface IAttrInfoData extends IResponseData {
  data: Array<IItemCateGory>
}

export interface IAddItemCateGoryRequestData {
  name: string
  id?: number
  category1Id?: number
  category2Id?: number
}

export interface IAddItemCateGoryData extends IResponseData {
  data: null
}

export interface IDetailCateGory {
  name: string
  id: number
}

export interface IDetailItemCateGoryData extends IResponseData {
  data: IDetailCateGory
}
